package cn.sfrog.project.biz.web.vo;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import javax.validation.constraints.NotBlank;

/**
 * 分页数据
 */
@Data
@ApiModel(description = "发送短信验证码VO")
public class AppSendCodeVO {

    @ApiModelProperty("手机号")
    @NotBlank(message = "手机号不能为空")
    private String phone;

    @ApiModelProperty("发送类型【register=注册,login=登录,updatePhone=修改手机号,applet=小程序】")
    @NotBlank(message = "发送类型不能为空")
    private String type;

}
